package com.health.medicine.model.dto.transporter;


import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author zhexueqi
 * @ClassName TransportGoodsArrivedRequest
 * @since 2024/9/1    16:34
 */
@Data
public class TransportGoodsArrivedRequest {

    @NotNull
    @Min(value = 1, message = "运单号不能为空")
    private Long traceCode;

    @NotBlank(message = "私钥不能为空")
    @NotNull(message = "私钥不能为空")
    private String privateKey;
}
